Skip to content

[New Rules] Add Linux Atomic gap coverage - #7279

Draft
Aegrah wants to merge 1 commit into
mainfrom
atomic-linux-gap-rules-batches-01-02
Draft

Aegrah wants to merge 1 commit into
mainfrom
atomic-linux-gap-rules-batches-01-02

Conversation

@Aegrah

@Aegrah Aegrah commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Pull Request

Issue link(s): None

Summary - What I changed

Adds three new detection rules and tunes two existing rules for Linux Atomic Red Team coverage gaps reviewed in batches linux-atomic-2026-11-30-01 and linux-atomic-2026-11-30-02.

Atomic coverage

  • Repeated Sudo Credential Cache Resets and Password Submissions — Atomic GID 4097bc00-5eeb-4d56-aaf9-287d60351d95; T1110.001 Password Guessing.
  • Directory Account Creation via Linux Command Line — Atomic GID 562aa072-524e-459a-ba2b-91f1afccf5ab; T1136.002 Domain Account.
  • Discovery of Domain Groups (LDAPDomainDump tuning) — Atomic GID a54d497e-8dbe-4558-9895-44944baa395f; T1087.002 Domain Account.
  • Sensitive File Collection via Find -exec — Atomic GID 3a41f169-a5ab-407f-9269-abafdb5da6c2; T1217 Browser Information Discovery. This broadens the incoming macOS concept from [New Rules] macOS BBRs for Sensitive File Collection via Find and Remote File Transfer #7221 to equivalent Linux behavior.
  • Root Certificate Installation (shell/shebang alias tuning) — Atomic GID 9c096ec4-fd42-419d-a762-d64cc950627e; T1553.004 Install Root Certificate.

The new directory-account and find rules are building blocks because the observed commands are useful correlation context but can be legitimate administrative activity. The sudo ES|QL rule correlates repeated timestamp resets and stdin password submissions by host and parent process.

How To Test

  • Ran python -m detection_rules toml-lint -f <rule> for all five changed files.
  • Ran python -m detection_rules validate-rule <rule> for all five changed files; all passed.
  • Ran git diff --check; passed.
  • Ran python -m detection_rules test: 321 passed and 109 skipped. One unrelated existing-rule schema failure remains for GitHub Token Clone Push or ZIP from Unusual ASN (asn.asn is unknown in the local GitHub integration schema).

Checklist

  • Added Rule: New and Rule: Tuning labels.
  • Secret and sensitive material has been managed correctly.
  • Documentation and comments were added where the query behavior requires explanation.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Aegrah Aegrah added OS: Linux OS: macOS Rule: New Proposal for new rule Rule: Tuning tweaking or tuning an existing rule Domain: Endpoint Team: TRADE labels Dec 1, 2026
@elastic-vault-github-plugin-prod

Copy link
Copy Markdown

Starting the rule tests ...

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Domain: Endpoint OS: Linux OS: macOS Rule: New Proposal for new rule Rule: Tuning tweaking or tuning an existing rule Team: TRADE

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant